package com.changli08.constructor;

public class TriangleTest {
    public static void main(String[] args) {
        Triangle ta = new Triangle(2.5,3.0);
        ta.setBase(2.3);
        ta.setHeight(3.4);
        System.out.println(ta.getArea());
    }
}
